﻿using Microsoft.Data.Edm;
using System;
namespace System.Data.Services.Providers
{
    /// <summary>
    /// Extends <see cref="T:Microsoft.Data.Edm.IEdmEntitySet" /> to expose the <see cref="T:System.Data.Services.Providers.ResourceSetWrapper" /> that the entity set was based on.
    /// </summary>
    internal interface IResourceSetBasedEdmEntitySet : IEdmEntitySet, IEdmEntityContainerElement, IEdmNamedElement, IEdmVocabularyAnnotatable, IEdmElement
    {
        /// <summary>
        /// The resource-set wrapper that this entity-set was created from.
        /// </summary>
        ResourceSetWrapper ResourceSet
        {
            get;
        }
    }
}